

<li class="layui-form-item icon">

    <label class="layui-form-label">ICON：</label>
    <img src="<?
    if ($detail['storage']) {
        echo $detail['storage'];
    } else {
        echo $site_domin;
    }
    ?>/uploadfiles/<? echo $theme_folder ?>/<? echo $data['icon'] ?>" width="100"/>
    <a href="detail-delete-img.php?nid=<?php echo $trans_nid ?>&&img=icon"> 删除</a>
    <span class="title-data">(请上传像素<? echo $first_icon_data[0] ?>X<? echo $first_icon_data[1] ?>的图片,格式为jpeg)</span>
</li>

<li class="layui-form-item icon">
    <label class="layui-form-label">上传文件：</label>
    <div class="layui-input-block">
        <input type="file" name="icon" onchange="fileChange(this);"/>
    </div>
</li>





<li class="layui-form-item banner"><label class="layui-form-label">横幅图片：</label><img src="<?
    if ($detail['storage']) {
        echo $detail['storage'];
    } else {
        echo $site_domin;
    }
    ?>/uploadfiles/<? echo $theme_folder ?>/<? echo $data['banner'] ?>" width="100"/>
    <a href="detail-delete-img.php?nid=<?php echo $trans_nid ?>&&img=banner"> 删除</a>
    <span class="title-data">(请上传像素<? echo $first_banner_data[0] ?>X<? echo $first_banner_data[1] ?>的图片,格式为jpeg)</span>
</li>

<li class="layui-form-item banner">
    <label class="layui-form-label">上传文件：</label>
    <div class="layui-input-block">
        <input type="file" name="banner" onchange="fileChange(this);"/>
        <em class="explain">(上传横幅Banner图片)</em>
</li>


<li class="layui-form-item extend_img" style="display: none">
    <label class="layui-form-label">扩展图片：</label>
    <img src="<?
        if ($detail['storage']) {
            echo $detail['storage'];
        } else {
            echo $site_domin;
        }
    ?>/uploadfiles/<? echo $theme_folder ?>/<? echo $data['extend_img'] ?>" width="100"/>
    <a href="detail-delete-img.php?nid=<?php echo $trans_nid ?>&&img=extend_img"> 删除</a>
    <span class="title-data">(请上传像素<? echo $first_extend_img_data[0] ?>X<? echo $first_banner_data[1] ?>的图片,格式为jpeg)</span>
</li>

<li class="layui-form-item extend_img"  style="display: none">
    <label class="layui-form-label">上传文件：</label>
    <div class="layui-input-block">
        <input type="file" name="extend_img" onchange="fileChange(this);"/>
        <em class="explain">(上传横幅Banner图片)</em>
</li>
